<!DOCTYPE html>
<html>
  <head>
    <title>首页</title>
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">

<!--[if lt IE 9]>
  <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->

</head>
<body>
	
<div class="modal fade" tabindex="-1" role="dialog" id="myModal" >
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">文档管理系统</h4>
      </div>
      <div class="modal-body">
      		<div class="form-group">
			  <label class="control-label" for="userName">账号名称:</label>
			  <input type="text" class="form-control" id="userName" aria-describedby="inputSuccess2Status">
			</div>
      		<div class="form-group ">
			  <label class="control-label" for="password">密码:</label>
			  <input type="password" class="form-control" id="password" aria-describedby="inputSuccess2Status">
			</div>
      </div>
      <div class="modal-footer">
       		<button type="button" class="btn btn-primary btn-lg btn-block" id="login">登录</button>
      </div>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->

<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
<script type="text/javascript">
$(function(){
	$("#myModal").modal("show");
	
	$("#login").click(function(){
		window.self.location = "main.html";
	});
	
});
</script>
</html>
